package com.daocao.common.domain.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
@TableName("ums_user_card")
public class UmsUserCard {
    @TableField("id")
    private Long id;
    @TableField("card_number")
    private String cardNumber;
    @TableField("card_status")
    private Integer cardStatus;
    @TableField("card_apply_type")
    private Integer cardApplyType;
    @TableField("card_reason_type")
    private Integer cardReasonType;
    @TableField("card_submit_date")
    private Date    cardSubmitDate;
    private String creator;
    private String updater;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
